package com.auemall.dao;

import java.util.List;

import com.auemall.po.Favorite;
import com.auemall.po.ex.ProductEx;

public interface FavoriteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Favorite record);

    int insertSelective(Favorite record);

    Favorite selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Favorite record);

    int updateByPrimaryKey(Favorite record);
    
    List<ProductEx> findAllFavorite(Integer id);
}